package com.amazingtel.test;

import java.util.ArrayList;
import java.util.List;

/**
 * @author:CrazyShaQiuShi
 * @email:3105334046@qq.com
 * @descript:
 * @version:1.0.0
 */
public class ThreadSimple {


    public static List<Weight> getWeightList() {
        List<Weight> weightList = new ArrayList();
        Weight weight = null;
        for (int i = 0; i < 5; i++) {
            weight = new Weight(i + "", "a" + i, 1.0, 2.0, "a.java", 1.0, 3.0);
            weightList.add(weight);
        }
        return weightList;
    }


    public static void main(String[] args) {
        for (Weight w : getWeightList()) {
            System.out.println(w.getUrl());
        }
    }


}
